//
// Created by wkm on 2023-12-04.
//

#include "generic_and.h"

template<int size>
inline void generic_and<size>::pre_generic_and() {
    sc_bv<size> bv_temp;

    bv_temp.read();
    z = bv_temp.and_reduce();
}